﻿<Window x:Class="Microsoft.PowerShell.CmdletManagement.MessageTextBox"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    x:Name="root"
    Height="250" Width="500" 
    WindowStyle="ToolWindow" 
    WindowStartupLocation="CenterScreen" 
    ShowInTaskbar="False" >
    <DockPanel>
        <Button DockPanel.Dock="Bottom" IsCancel="True"
            HorizontalAlignment="Right" Margin="0,5,10,5" Width="70" Content="OK" BorderThickness="1,1,1,1" IsDefault="True"/>
        <TextBox 
            ScrollViewer.VerticalScrollBarVisibility="Auto"
            DockPanel.Dock="Bottom" TextWrapping="Wrap" Text="{Binding Path=Text, ElementName=root}" />
    </DockPanel>
</Window>
